package com.dingxin.ship_together_api.entity.vo.route;

import com.dingxin.ship_together_api.entity.ShipInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Author: ctj
 * Date: 2022-11-24
 * Time: 11:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RouteSpuQueryVo {
    /**
     * 航线SpuId
     */
    private Long id;

    /**
     *  船只信息
     */
    private ShipInfo shipInfo;

    /**
     * 航线类型 0-拼船  1-包船
     */
    private Integer routeType;

    /**
     * 最低成单座位数
     */
    private Integer successSeats;

    /**
     * 下单截止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date deadline;

}
